package com.baidu.hateoas.demo.order.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Table(name = "t_stocks")
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StocksEntity extends BaseEntity{

    private String name;

    private Double price;

}
